package com.lins.store.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author linshuo
 * @Date 2022/12/2 16:55
 */
@Data
public class LoginDTO implements Serializable {

    @NotNull(message = "用户名不允许为空")
    String username;
    @NotNull(message = "密码不允许为空")
    String password;
    @NotNull(message = "图形验证码不允许为空")
    String verification; //图形验证码
//    String phone;
//    String msmCode; //短信验证码

}
